# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=extremetuxracer
pkgver=0.8.2
pkgrel=0
pkgdesc="Downhill racing game starring Tux"
url="https://sourceforge.net/projects/extremetuxracer"
arch="all"
license="GPL-2.0-only"
makedepends="sfml-dev glu-dev freetype-dev"
source="https://downloads.sourceforge.net/extremetuxracer/etr-$pkgver.tar.xz"
subpackages="$pkgname-doc"
builddir="$srcdir/etr-$pkgver"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
572b494e82f00853b38b3913f0ef34d0a5c0b6655626fa6c72c76f7a41f723ff6fc3c20ca54d835ed5dba462f22896882e9c37ddf5b3e840ea14af3d336addb8  etr-0.8.2.tar.xz
"
